* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    
}

/* Main container */
.main-container {
    width: 100%;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 20px;
    background: #0d0d0d; /* Full dark background */
    color: #fff;
}

/* Left and Right Boxes */
.left-box,
.right-box {
    width: 50%;
    background: #1a1a1a; /* Dark grey card */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255,255,255,0.05); /* Soft glow */
    border: 1px solid #333;
    text-align:center;
}

/* Left Side Text Styles */
.left-box h1 {
    margin-bottom: 25px;
    margin-left: 150px;
    margin-right: 150px;
    
    color: #ffffff;
}

.left-box h5 {
    display: inline-block;
    border: 2px solid #999;
    padding: 5px 10px;
    border-radius: 5px; /* optional rounded corners */
    margin: 25px;
    color: #ffffff;
    
}

.left-box h3 {
    margin-bottom: 25px;
    color: #ffffff;
    
}


.left-box p {
    margin-bottom: 25px;
    color: #cfcfcf;
    
}

/* Right Side Form */
.right-box h2 {
    margin-bottom: 15px;
    color: #fff;
    
}

.right-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.right-box input,
.right-box textarea {
    width: 100%;
    padding: 12px;
    background: #121212;     /* Dark input background */
    border: 1px solid #444;
    border-radius: 6px;
    font-size: 16px;
    color: #e8e8e8;
}

.right-box input:focus,
.right-box textarea:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

.right-box textarea {
    height: 100px;
}

/* Submit Button */
.right-box button,
.left-box button
{
    padding: 12px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}


.right-box button:hover,
.left-box button:hover{
    background: #0056c7;
}


/* Outer wrapper expands automatically */
.outer-wrapper {
    padding: 30px;         /* equal spacing on all sides */
    box-sizing: border-box;
    min-height: 100vh;     /* allow more height if needed */
}

/* Container */
.container {
    display: flex;
    gap: 20px;              /* space between left & right */
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
    box-sizing: border-box;
    width: 100%;
    position: relative;
    align-items: flex-start;
}

/* Left scrollable content */
.left {
    width: 70%;
    overflow-y: auto;
    padding: 15px;
    background: #f2f2f2;
    border-radius: 8px;

    /* hide scrollbar */
    scrollbar-width: none;
}
.left::-webkit-scrollbar {
    display: none;
}

/* Right fixed content */
.right {
    width: 30%;
    height: fit-content;     /* adjusts to content */
    padding: 15px;
    background: #fff3cd;
    border-radius: 8px;
    position: sticky;
    top: 30px;               /* stays fixed inside wrapper */
}

/* Content blocks */
.box {
    height: 300px;
    background: #d1ecf1;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
}




/* Mobile Responsive */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .left-box,
    .right-box {
        width: 100%;
    }
}


